home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / ab20 / unarced / graphics / pbmplus / pgm / rawtopgm.man < prev   
Text File  |  1995-03-17  |  1KB  |  67 lines

  1.  
  2.  
  3.  
  4.      rawtopgm(1)          AMIGA (15 December 89)           rawtopgm(1)
  5.  
  6.  
  7.  
  8.      NAME
  9.           rawtopgm - convert raw grayscale bytes into a portable
  10.           graymap
  11.  
  12.      SYNOPSIS
  13.           rawtopgm [-headerskip N] [-rowskip N] width height
  14.           [imagedata]
  15.  
  16.      DESCRIPTION
  17.           Reads raw grayscale bytes as input.  Produces a portable
  18.           graymap as output.  The input file is just grayscale bytes.
  19.           You have to specify the width and height on the command
  20.           line, since the program obviously can't get them from the
  21.           file.  The maxval is assumed to be 255.  If the resulting
  22.           image is upside down, run it through pnmflip -tb .
  23.  
  24.      OPTIONS
  25.           -headerskip
  26.                If the file has a header, you can use this flag to skip
  27.                over it.
  28.  
  29.           -rowskip
  30.                If there is padding at the ends of the rows, you can
  31.                skip it with this flag.  Note that rowskip can be a
  32.                real number.  Amazingly, I once had an image with 0.376
  33.                bytes of padding per row.  This turned out to be due to
  34.                a file-transfer problem, but I was still able to read
  35.                the image.
  36.  
  37.      SEE ALSO
  38.           pgm(5), rawtoppm(1), pnmflip(1)
  39.  
  40.      AUTHOR
  41.           Copyright (C) 1989 by Jef Poskanzer.
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                         (printed 10/19/91)
  64.  
  65.  
  66.  
  67.